package com.pharmacy;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableScheduling // 启用 Spring Task
public class PharmacyServerApplication {

    public static void main(String[] args) {
        // 启动应用时应该传入主启动类 PharmacyServerApplication.class
        SpringApplication.run(PharmacyServerApplication.class, args);
    }
}
